package com.hongyi.service.Impl;

import com.hongyi.mapper.PersonMapper;
import com.hongyi.pojo.Person;
import com.hongyi.service.PersonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hongyi
 * @date 2024/8/23 2:26
 */
@Service
public class PersonServiceImpl  implements PersonService {

    @Autowired
    private PersonMapper personMapper;
    @Override
    public List<Person> findALl() {
        return personMapper.findALl();
    }
}
